package com.project.finance.common.mapper;

import com.project.finance.common.po.TbDebitOrder;
import com.project.finance.common.po.TbPaybackOrder;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

@Repository
public interface TbDebitOrderMapper extends Mapper<TbDebitOrder>, MySqlMapper<TbDebitOrder> {
    List<TbDebitOrder> listSelect();

    Integer selectNum(Integer userId);

    Integer selectMoney(Integer userId);


    List<TbDebitOrder> findOne(Integer userId);

    void deleteByIdList(List<Integer>idList);
}